home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / grafik / bildanzeiger / superview-lib_dev / include / superviewsupport / superviewsupport.h next >
C/C++ Source or Header  |  1995-03-09  |  2KB  |  84 lines

  1. /* superviewsupport/superviewsupport.h */
  2. /* Version    : 4.1               */
  3. /* Date       : 14.06.1994           */
  4. /* Written by : Andreas R. Kleinert    */
  5.  
  6. #ifndef SUPERVIEWSUPPORT_SUPERVIEWSUPPORT_H
  7. #define SUPERVIEWSUPPORT_SUPERVIEWSUPPORT_H
  8.  
  9.  
  10. /* *************************************************** */
  11. /* *                             * */
  12. /* * Version Defines                     * */
  13. /* *                             * */
  14. /* *************************************************** */
  15.  
  16. #define SVSUPPORTLIB_VERSION  4
  17.  
  18.  
  19. /* *************************************************** */
  20. /* *                             * */
  21. /* * Includes                         * */
  22. /* *                             * */
  23. /* *************************************************** */
  24.  
  25. #ifndef EXEC_TYPES_H
  26. #include <exec/types.h>
  27. #endif /* EXEC_TYPES_H */
  28.  
  29.  
  30. /* *************************************************** */
  31. /* *                             * */
  32. /* * Custom Defines                     * */
  33. /* *                             * */
  34. /* *************************************************** */
  35.  
  36. #ifndef N
  37. #define N NULL     /* useful */
  38. #endif /* N */
  39.  
  40.  
  41. /*  === ControlPads === */
  42.  
  43. /* see documentation for more and detailed information on ControlPad-Files */
  44.  
  45. struct SV_ControlPad          /* These ControlPads are supplied as    */
  46. {                             /* single-chained list, where the       */
  47.  UBYTE *svc_EntryName;        /* pointer to the last entry is NULL.   */
  48.  UBYTE *svc_EntryContent;     /* Do not free them by Hand.            */
  49.  
  50.  APTR   svc_NextEntry;
  51. };
  52.  
  53.  
  54. /*  === Handle for SVSUP_DisplayGfxBuffer()                 === */
  55. /* (has to be allocated, initialized and delocated by the User) */
  56.  
  57. struct SVSUP_DisplayHandle
  58. {
  59.  /* MUST be initialized : */
  60.  
  61.  ULONG                  Version;      /* currently 4 */
  62.  
  63.  struct SV_GfxBuffer   *SVGfxBuffer;    
  64.  struct SVD_DriverNode *SVDriverNode;
  65.  
  66.  /* MAY be initialized : */
  67.  
  68.  ULONG                  WinIDCMP; /* Window's IDCMP */
  69.  ULONG                  WinFlags; /* Window's Flags */
  70.  ULONG                  ScrType;  /* Screen-Type    */
  71.  
  72.  /* MUST NOT be initialized (read-only) : */
  73.  
  74.  struct SVDriverBase   *SVDriverBase;
  75.  APTR                   SVDriverHandle; 
  76.  
  77.  struct Window         *Window;
  78.  struct Screen         *Screen;
  79.  
  80.  /* end of version 4 entries */
  81. };
  82.  
  83. #endif /* SUPERVIEWSUPPORT_SUPERVIEWSUPPORT_H */
  84.